package com.tinem.platform.maven.plugin.echo;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Mojo;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className Echo
 * @description
 * @site
 * @company
 * @create 2021-06-08 12:18
 */
@Mojo(name="echo")
public class Echo extends AbstractMojo {
    @Override
    public void execute() throws MojoExecutionException, MojoFailureException {
        getLog().info("Hello MavenPlugin-----------------------");
//        getLog().info(JSON.toJSONString(getPluginContext(),true));
        getLog().info("Hello MavenPlugin-----------------------");
    }
}
